package com.cn.wanxi.util.dao.impl;

import com.cn.wanxi.util.dao.ISchoolContentDao;
import com.cn.wanxi.util.model.SchoolAboutModel;
import com.cn.wanxi.util.model.SchoolCurriculumModel;
import com.cn.wanxi.util.model.SchoolServerModel;
import com.cn.wanxi.util.utils.SchoolCurriculumUtile;

import java.awt.*;
import java.util.ArrayList;
import java.util.List;

public class SchoolCurriculumDao implements ISchoolContentDao {
    SchoolCurriculumUtile schoolCurriculumUtile =new SchoolCurriculumUtile();
    @Override
    public List<SchoolCurriculumModel> schoolCurriculum() {
        List<SchoolCurriculumModel> schoolCurriculumList =schoolCurriculumUtile.readSchoolCurriculum();
        return schoolCurriculumList;
    }

    @Override
    public List<SchoolServerModel> schoolServer() {
        List<SchoolServerModel> schoolServerList =schoolCurriculumUtile.readSchoolServer();
        return schoolServerList;
    }

    @Override
    public List<SchoolAboutModel> schoolAbout() {
        List<SchoolAboutModel> schoolAboutList =schoolCurriculumUtile.readSchoolAbout();
        return schoolAboutList;
    }
}

